package li;

 class var {

	static int a;
	int b;
	public void intprint(){
		int c=0;
		++a;
		++b;
		++c;
		System.out.println("a="+a);
		System.out.println("b="+b);
		System.out.println("c="+c);
		
	}
	
	public void allprint(){
		intprint();
		intprint();
		
		
	}
}

public class demo1{
	public static void main(String args[]){
		var v1=new var();
		var v2=new var();
		v1.allprint();
		v2.allprint();
		
		
	}
	
	
}
